import { BroadCastCall } from "../../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../../Framework/MQ/MessageBlock";
import { SMakeFunCasterInfo } from "../../../../../Message/Game/SMakeFunCasterInfo";
import { NetDispatcher } from "../../../../mvc/core/NetDispatcher";
import { ServerCommand } from "../../../mvc/ServerCommand";
import { MsgManager } from "../../../manager/MsgManager";
import { Language } from "../../../../../extend/language/Language";
//class MakeFunCasterInfoCommand
    
    export  class MakeFunCasterInfoCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SMakeFunCasterInfo;
            NetDispatcher.dispatchCmd(ServerCommand.MakeFunCasterInfo, loc1);
            MsgManager.showRollTipsMsg(Language.getStringByParam(43000, loc1.fromPlayerName));
            return;
        }
    }
